﻿<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Preview.aspx.vb" Inherits="pages_emailTemplates_Preview"
  MasterPageFile="~/pages/default.master"
  Title="Preview Template"
%>
<asp:Content ID=t runat=server ContentPlaceHolderID=above>
    <div style="margin-top:15px; margin-bottom:15px;"><asp:DropDownList ID=ddTemplate runat=server DataTextField=TemplateName DataValueField=TemplateId AutoPostBack=true /></div>
</asp:Content>

<asp:Content ID="c" ContentPlaceHolderID="body" runat="server">

    <table width="700px">
        <tr>
            <td>
                <asp:DropDownList ID=ddProduct runat=server DataTextField="ProductNameAndContents" DataValueField="ProductId" AutoPostBack=true />
            </td>
            <td>
                <asp:DropDownList ID=ddCustomer runat=server DataTextField="CustomerNameAndEmail" DataValueField="CustomerId" AutoPostBack=true />
            </td>
            <td width=100% align=right nowrap>&nbsp;</td>
        </tr>
        <tr><td colspan=3>&nbsp;</td></tr>
        <tr>
            <td colspan=3 >
                <asp:TextBox Width=700px ID=txtSubject runat=server Enabled=false ToolTip="Subject" /><br />
            </td>
        </tr>
        <tr>
            <td colspan=3>
                <iframe width=700px runat=server height=400 id=iframe runat=server ></iframe>
            </td>
        </tr>
        <tr><td colspan=3>&nbsp;</td></tr>
        <tr>
          <td colspan=3>
                <asp:TextBox ID=txtEmail runat=server Width=150 />
                <asp:Button ID=btnSend runat=server Text="Send Test Email" />
          </td>
        </tr>
    </table>

</asp:Content>
